package com.ucode.crm.service;

import java.util.List;
import com.ucode.crm.mode.FollowupTeamUser;

public interface FollowupTeamUserService {

    public int batchInsert(Long targetId,Integer targetType,List<Long> userIds,Integer power);
    
    public int updatePower(Long id,Integer power);
    
    public int delete(Long id,Long operatorId);
    
    public int batchDelete(List<Long> ids);
    
    public FollowupTeamUser findById(Long id);
    
    public List<FollowupTeamUser> findByIds(List<Long> ids);
    
    public FollowupTeamUser find(Long targetId,Integer targetType,Long userId);
    
    public List<FollowupTeamUser> findList(Long targetId,Integer targetType);
    
}
